package com.teamall.web.family.db.dao.mapper;

import com.teamall.web.family.db.arg.FamilyAidLogArg;
import com.teamall.web.family.db.po.FamilyAidLogPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IFamilyAidLogMapper {
    
    List<Integer> countByArg(FamilyAidLogArg arg);

    List<FamilyAidLogPO> selectByArg(FamilyAidLogArg arg);

    FamilyAidLogPO selectByPrimaryKey(Integer id);

    List<FamilyAidLogPO> selectByArgAndPage(FamilyAidLogArg arg, RowBounds rowBound);

    int insert(FamilyAidLogPO record);

    int insertSelective(FamilyAidLogPO record);

    int insertBatch(@Param("list") List<FamilyAidLogPO> records);

    int updateByArgSelective(@Param("record") FamilyAidLogPO record,
            @Param("arg") FamilyAidLogArg arg);

    int updateByArg(@Param("record") FamilyAidLogPO record,
            @Param("arg") FamilyAidLogArg arg);

    int updateByPrimaryKeySelective(FamilyAidLogPO record);

    int updateByPrimaryKey(FamilyAidLogPO record);
    
    int deleteByArg(FamilyAidLogArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}